#pragma once
#define _CRT_SECURE_NO_WARNINGS 1


#include <stdio.h>
#include <stdlib.h>
#include<iostream>

namespace bit1
{
	int rand = 0;
	int x = 0;
	int Add(int a, int b)
	{
		return a + b;
	}
}

namespace bit2
{
	int x = 1;
}

struct Stack {
	int* a;
	int size;
	int capacity;
};

void StackInit(struct Stack* ps, int n = 4);